package com.hsl.housaileibot001.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 微信登录DTO
 */
@Data
@Schema(description = "微信登录DTO")
public class WechatLoginDTO {

    /**
     * 微信登录code
     */
    @NotBlank(message = "code不能为空")
    @Schema(description = "微信登录code", required = true)
    private String code;

    /**
     * 用户昵称（可选）
     */
    @Schema(description = "用户昵称")
    private String nickname;

    /**
     * 头像URL（可选）
     */
    @Schema(description = "头像URL")
    private String avatarUrl;
}

